package com.ingesup.caribou.server.generator;

import org.jzy3d.maths.Coord3d;

public class Test {

    public static void main(String[] args) {
        FromFiles read = new FromFiles("./data/egnos.txt");
        Objet3D object = new Objet3D("test", read.ensemble3d);
        
        Coord3d[] tabC = new Coord3d[object.tabCoord3D.size()];
        object.tabCoord3D.toArray(tabC);
        
        for (int i=0 ; i<object.tabCoord3D.size() ; i++) {
            System.out.println("Point " + (i+1) + " : x = " + tabC[i].x + " , y = " + tabC[i].y + " , z = " + tabC[i].z);
            
        }
        System.out.println("Nombre total de points : " + object.tabCoord3D.size() );
    }

}